package com.himore.api.web.model;

import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 评论信息对象 t_sys_comment
 * 
 * @author ruoyi
 * @date 2021-05-12
 */
public class TSysComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    @ApiModelProperty(value = "评论ID")
    private Long commentId;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 评论详情 */
    @ApiModelProperty(value = "评论详情")
    private String commentDetail;

    /** 评论标题 */
    @ApiModelProperty(value = "评论标题")
    private String title;

    /** 点赞数量 */
    @ApiModelProperty(value = "点赞数量")
    private Long numberOfLikes;
    /** 帖子ID */
    @ApiModelProperty(value = "帖子ID")
    private String invitationId;

    public String getInvitationId() {
        return invitationId;
    }

    public void setInvitationId(String invitationId) {
        this.invitationId = invitationId;
    }

    /**  */
    @ApiModelProperty(value = "更新人员")
    private String updateUser;

    /**  */
    @ApiModelProperty(value = "")
    private String createUser;



    public void setCommentId(Long commentId) 
    {
        this.commentId = commentId;
    }

    public Long getCommentId() 
    {
        return commentId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCommentDetail(String commentDetail) 
    {
        this.commentDetail = commentDetail;
    }

    public String getCommentDetail() 
    {
        return commentDetail;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setNumberOfLikes(Long numberOfLikes) 
    {
        this.numberOfLikes = numberOfLikes;
    }

    public Long getNumberOfLikes() 
    {
        return numberOfLikes;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentId", getCommentId())
            .append("userId", getUserId())
            .append("commentDetail", getCommentDetail())
            .append("title", getTitle())
            .append("numberOfLikes", getNumberOfLikes())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("createUser", getCreateUser())
            .append("remark", getRemark())
            .toString();
    }

    /** 排序类型 */
    @ApiModelProperty(value = "排序类型 时间：time, 热度：heat")
    private String orderType ;
    @ApiModelProperty(value = "昵称")
    private String nickName ;
    @ApiModelProperty(value = "头像")
    private String profilePic;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getProfilePic() {
        return profilePic;
    }

    public void setProfilePic(String profilePic) {
        this.profilePic = profilePic;
    }

    @ApiModelProperty(value = "已读未读标志")
    private int haveRead  ;

    public int getHaveRead() {
        return haveRead;
    }

    public void setHaveRead(int haveRead) {
        this.haveRead = haveRead;
    }
}
